package com.pad.producter.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.pad.dpscn.daag.sdk.core.annotation.DataSendPosition;
import com.pad.producter.domain.User;
import com.pad.producter.mapper.UserMapper;
import com.pad.producter.service.IUserService;

/**
 * <p>
 * 操作日志记录 服务实现类
 * </p>
 *
 * @author yangdechao
 * @since 2021-12-21
 */
@Service
@DataSendPosition
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

	@Autowired
	private UserMapper userMapper;
	@Override
	public boolean updateUserByParams(User entity) {
		Boolean result = userMapper.updateUserByParams(entity);
		return result;
	}
	@Override
	public void updateUserByParams2(User entity) {
		 userMapper.updateUserByParams(entity);
	}

}
